package com.cj.easypoi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.*;

import java.util.Date;

/**
 * ClassName: Person <br/>
 * Function: person entity class <br/>
 * date: 2018/04/26 15:34 <br/>
 *
 * @author chenj
 * @version 1.0.0
 * @since JDK 1.8
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Person {

    @Excel(name = "姓名", orderNum = "0")
    private String name;
    @Excel(name = "性别", replace = {"男_1", "女_2"}, orderNum = "1")
    private String sex;
    @Excel(name = "生日", exportFormat = "yyyy-MM-dd", orderNum = "2")
    private Date birthday;
}
